package com.ztgf.order.models.vo;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.ztgf.common.annotations.CustomerBigDecimalSerialize;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;

/*
 * @author: chenyu.wang
 * @date: 2020-08-11
 * @description:后台管理系统佣金统计VO
 */
@Data
public class OrderCommissionVO implements Serializable {

    @ApiModelProperty(value = "类目id")
    private Long categoryId;

    @ApiModelProperty(value = "店铺id")
    private Long shopId;

    @ApiModelProperty(value = "类目名称")
    private String categoryName;

    @ApiModelProperty(value = "佣金金额")
    @JsonSerialize(using = CustomerBigDecimalSerialize.class)
    private BigDecimal money;

    @ApiModelProperty(value = "店铺类型 0专营店、1专卖店、2旗舰店、3自营店")
    private Integer shopType;

    @ApiModelProperty(value = "店铺名称")
    private String shopName;

}
